package com.rongke.web.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * CommonErrorController
 * 
 * @Controller
 * @version : Ver 1.0
 */
@Controller
public class BaseCommonController {
	/**
	 * 单个新闻详情
	 * 
	 * @param newsId
	 * @return
	 */
	@RequestMapping(value = "*")
	public String common404() {
		return "common/404";
	}

	/**
	 * 整体系统首页
	 * 
	 * @return
	 */
	@RequestMapping(value = "/")
	public String index() {
		return "common/index";
	}
}
